package Java8实战.Lambda实战;

public class Letter {

    public static String addHeader(String text){
        return "From Raoul, Mario and Alan: " + text;
    }

    public static String addFooter(String text){
        return text + "To Kind regards";
    }

    public static String checkSpelling(String text){
        return text.replaceAll("labda","lambda");
    }
}
